import { api } from "../api";

export function getAllConversationCountsApi(courseFileId: string | null) {
  try {
    return api.get('/java/teacher/getAllConversationCounts', {
      params: {
        courseFileId,
      },
    });
  }
  catch {
    throw new Error("获取小链对话数据失败");
  }
}
